<template>
  <div id="indexaside">
    <el-col>
      <el-menu
        :default-active="$route.path"
        router
        background-color="#545c64"
        text-color="#fff"
        active-text-color="#ffd04b"
      >
        <el-menu-item index="/index/home">
          <i class="el-icon-s-home"></i>
          <span>首页</span>
        </el-menu-item>

        <el-submenu index="1">
          <template slot="title">
            <i class="el-icon-money"></i>
            <span>收支管理</span>
          </template>
          <el-menu-item index="/index/table">收支明细</el-menu-item>
        </el-submenu>

        <el-submenu index="2">
          <template slot="title">
            <i class="el-icon-user-solid"></i>
            <span>信息管理</span>
          </template>
          <el-menu-item index="/index/userinfo">个人信息</el-menu-item>
        </el-submenu>
      </el-menu>
    </el-col>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.el-menu {
  border-right: 0 !important;
  user-select: none;
}
</style>